package com.mvc.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * @ProjectName: dior
 * @Package: com.mvc.entity
 * @ClassName: Type
 * @Description: TODO
 * @Author: Bang
 * @Date: 2021/12/1 11:27
 * @Version: 1.0
 **/
@Data
public class Type {
    @JSONField(name = "value")
    private Integer id;

    @JSONField(name = "label")
    private String productName;

    @JSONField(name = "fatherid")
    private Integer productFatherID;

    private String img;

    private List<Type> children;
}
